IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[cms_sp_MediaContentTagAdd]') AND type in (N'P', N'PC'))
	DROP PROCEDURE [dbo].[cms_sp_MediaContentTagAdd]
GO
create procedure [dbo].[cms_sp_MediaContentTagAdd]
(
@Id int = null output,
@TagName nvarchar(50)
)
as
insert into [dbo].[MediaContentTags]
(
TagName
)
values
(
@TagName
)
set @Id = SCOPE_IDENTITY()
return @Id


GO

